﻿using B.S.BaseData.ErrorCode;
using MediatR;

namespace B.S.BaseData.Write.API.Command.RoleCommand
{
    public class UpdateRoleCommand:IRequest<APIResult<object>>
    {
        public int RoleId { get; set; }
        public string RoleName { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUser { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
